print the first non-repeated character in a string